Unable to set posts (posts is a state using useState) after fetching them successfully in useEffect

welcome to shbcf.ru